package com.it.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 客户端-购物车表
 */
public class ClShoppingCar implements Serializable,Cloneable {
    /** 主键;uuid */
    private String id ;
    /** 用户id */
    private String userId ;
    /** 用户姓名 */
    private String userName ;
    /** 车内菜品总数 */
    private Integer foodCountTotal ;
    /** 车内菜品总价 */
    private Double foodPriceTotal ;
    /** 最近一次下单时间 */
    private Date lastTimeOrder ;

    /** 购物车和菜品关联关系 */
    private List<LinkFoodCart> linkFoodCarts;

    /** 主键 */
    public String getId(){
        return this.id;
    }
    /** 主键 */
    public void setId(String id){
        this.id = id;
    }
    /** 用户id */
    public String getUserId(){
        return this.userId;
    }
    /** 用户id */
    public void setUserId(String userId){
        this.userId = userId;
    }
    /** 用户姓名 */
    public String getUserName(){
        return this.userName;
    }
    /** 用户姓名*/
    public void setUserName(String userName){
        this.userName = userName;
    }
    /** 车内菜品总数 */
    public Integer getFoodCountTotal(){
        return this.foodCountTotal;
    }
    /** 车内菜品总数 */
    public void setFoodCountTotal(Integer foodCountTotal){
        this.foodCountTotal = foodCountTotal;
    }
    /** 车内菜品总价 */
    public Double getFoodPriceTotal(){
        return this.foodPriceTotal;
    }
    /** 车内菜品总价 */
    public void setFoodPriceTotal(Double foodPriceTotal){
        this.foodPriceTotal = foodPriceTotal;
    }
    /** 最近一次下单时间 */
    public Date getLastTimeOrder(){
        return this.lastTimeOrder;
    }
    /** 最近一次下单时间 */
    public void setLastTimeOrder(Date lastTimeOrder){
        this.lastTimeOrder = lastTimeOrder;
    }

    public List<LinkFoodCart> getLinkFoodCarts() {
        return linkFoodCarts;
    }

    public void setLinkFoodCarts(List<LinkFoodCart> linkFoodCarts) {
        this.linkFoodCarts = linkFoodCarts;
    }
}
